﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="LanguagesToolbarView.xaml.cs" company="WordSteps.com">
//   All rights reserved
// </copyright>
// <summary>
//   Interaction logic for LanguagesToolbarView.xaml
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace RapidDict.Modules.LanguagesToolbar.Views
{
    using System.Windows.Controls;

    /// <summary>
    /// Interaction logic for LanguagesToolbarView.xaml
    /// </summary>
    public partial class LanguagesToolbarView : UserControl
    {
        public LanguagesToolbarView(LanguagesToolbarViewModel model)
        {
            InitializeComponent();

            this.Loaded += (s, e) =>
            {
                this.DataContext = model;
            };
        }
    }
}
